package com.smart.order.vo;

import lombok.Getter;

@Getter
public enum ResponseCode {
    SUCCESS(200, "success"),
    ERROR(400, "error"),



    TEST_ERROR(40002, "test  error"),

    ORDER_PRODUCT_OUT(40001, "该商品已经下架");
    private final String msg;
    private final Integer status;

    ResponseCode(Integer status, String msg) {
        this.msg = msg;
        this.status = status;
    }
}
